s1 = """
    uint8_t asyALatIndcr;
    uint8_t asyALgtIndcr;
    uint8_t asyAutDrvgAvl;
    uint8_t asyEmgyLaneKeepAid;
    uint8_t asyEmgyLaneKeepAidSts;
    uint8_t asyEmgyLaneSts;
    uint8_t asyEmgyManoeuvreAidSts;
    uint8_t asyLaneChgWarnMod;
    uint8_t asyLaneKeepAidSts;
    uint8_t asyLineLeColor;
    uint8_t asyLineRiColor;
    uint8_t asySteerApplyRqrd;
    uint8_t cllsnAidPost;
    uint8_t cllsnFwdWarn;
    uint8_t cllsnMtgtnFctSts;
    uint8_t cllsnMtgtnOnoffSts;
    uint8_t cllsnMtgtnWarnSts;
    uint8_t cllsnWarnReOn1;
    uint8_t cnclFaceRes;
    uint8_t cnclWarnForAutDrv;
    uint8_t ctraOn1;
    uint8_t dVRSysSts;
    uint8_t doorOpenwarnOn1;
    uint8_t drvrAsscSysDisp;
    uint8_t drvrAsscSysSts;
    uint8_t drvrPfmncSwitchSts;
    uint8_t dvrErrSts;
    uint32_t dvrPartNum;
    uint8_t dvrSWVer;
    uint8_t dvrVideoPerc;
    uint8_t faceIdnStsMsg;
    uint8_t faceInfoAcqRes;
    uint16_t faceInfoAcqSts;
    uint8_t frntLeOfSnsrOfPrkgAssiSide;
    uint8_t frntRiOfSnsrOfPrkgAssiSide;
    uint8_t insdLeOfSnsrPrkgAssiFrnt;
    uint8_t insdLeOfSnsrPrkgAssiRe;
    uint8_t insdRiOfSnsrPrkgAssiFrnt;
    uint8_t insdRiOfSnsrPrkgAssiRe;
    uint8_t intvAndWarnModInfoSts;
    uint8_t laneChgAutStsForAsyHiWay;
    uint8_t laneChgWarnSts;
    uint8_t laneKeepAidInfoSts;
    uint8_t lcmaAudWarn;
    uint8_t lcmaOn;
    uint8_t navForDrvrPfmncSts;
    uint8_t nrOfRecPrsntIfOfVehSurrndgsVinRec;
    uint16_t nrOfSld;
    uint8_t objOnIfOfSnsr;
    uint8_t outdLeOfSnsrPrkgAssiFrnt;
    uint8_t outdLeOfSnsrPrkgAssiRe;
    uint8_t outdRiOfSnsrPrkgAssiFrnt;
    uint8_t outdRiOfSnsrPrkgAssiRe;
    uint8_t pdcMuteBtnSts;
    uint8_t prkgDstCtrlSts;
    uint8_t prkgEmgyBrkSysSts;
    uint8_t prkgProgsDisp;
    uint8_t prkgTypAutBtnCfmd;
    uint8_t rctaIndcnLe;
    uint8_t rctaIndcnRi;
    uint8_t reLeOfSnsrOfPrkgAssiSide;
    uint8_t reRiOfSnsrOfPrkgAssiSide;
    uint8_t recCycStsOfVehSurrndgsVisnRec;
    uint8_t recStsOfVehSurrndgsVisnRec;
    uint8_t roadSgnInfoSts;
    uint8_t setReslStsOfVehSurrndgsVisnRec;
    uint16_t sldNr;
    uint8_t snsrDrvrPfmncSts;
    uint8_t snsrFltOfPrkgDstCtrl;
    uint8_t softBtnSwtStCfmd;
    uint8_t surrndgsVisnRecTFSts;
    uint8_t tFCarCap;
    uint8_t trfcLiSts;
    uint8_t vehSurrndgsVinRecCmdRes;
    uint8_t vehSurrndgsVinRecCmdRespTbl;
    uint8_t vehSurrndgsVinRecRestoreIniStsRes;
    uint8_t vehSurrndgsVisnCapSts;
    uint8_t vehSurrndgsVisnRecSts;
    uint8_t vehSurrndgsVisnRecTFFmtRes;
    uint8_t visAlrmReq;
    uint8_t asyALgtStsAsyALgtSts;
    uint8_t asyALgtStsChks;
    uint8_t asyALgtStsCntr;
    uint8_t eyeGazeZone;
    uint16_t eyeGazeZoneTime;
    uint8_t faceIdnResForProfIdPen;
    uint8_t faceIdnResForProfYesNo;
    uint8_t faceRecgGidInfo1Byte0;
    uint8_t faceRecgGidInfo1Byte1;
    uint8_t faceRecgGidInfo1Byte2;
    uint8_t faceRecgGidInfo1Byte3;
    uint8_t faceRecgGidInfo1Byte4;
    uint8_t faceRecgGidInfo1Byte5;
    uint8_t faceRecgGidInfo1Byte6;
    uint8_t faceRecgGidInfo1Byte7;
    uint8_t faceRecgGidInfo2Byte0;
    uint8_t faceRecgGidInfo2Byte1;
    uint8_t faceRecgGidInfo2Byte2;
    uint8_t faceRecgGidInfo2Byte3;
    uint8_t faceRecgGidInfo2Byte4;
    uint8_t faceRecgGidInfo2Byte5;
    uint8_t faceRecgGidInfo2Byte6;
    uint8_t faceRecgGidInfo2Byte7;
"""
t1 = s1.split(";\n")
formats1 = []
names1 = []
print(t1)

for i in t1:
    if i != "":
        tmp = i.replace("\n", "").replace("    ", "").split(" ")
        formats1.append(tmp[0])
        names1.append(tmp[1])
print(len(formats1), formats1)
print(len(names1), names1)

for j in range(0, len(formats1)):
    if j == 0:
        print('    if (strcmp(arrs[i].c_str(), "{}") == 0)'.format(names1[j])+"{")
        if formats1[j] in ["int16_t", "int32_t"]:
                print("        notification.{} = ({})(ntohl(values[i]));".format(names1[j], formats1[j]))
        else:
                print("        notification.{} = ({})values[i];".format(names1[j], formats1[j]))
        print("    }")

    else:
        print('    else if (strcmp(arrs[i].c_str(), "{}") == 0)'.format(names1[j])+"{")
        if formats1[j] in ["int16_t", "int32_t"]:
                print("        notification.{} = ({})(ntohl(values[i]));".format(names1[j], formats1[j]))
        else:
                print("        notification.{} = ({})values[i];".format(names1[j], formats1[j]))
        print("    }")
